﻿using System;
using System.Reflection;

namespace ModelChecking.ModelValidation.StairsRamp
{
	internal class ValidationStandard
	{
		public static string GetArchStdXmlPath()
		{
			string appRootPath = ValidationStandard.GetAppRootPath();
			return appRootPath + "\\Data\\建筑规范.xml";
		}

		public static string GetAppRootPath()
		{

            return Assist.AssistFunc.GetAppRootPath();

			string text = Assembly.GetExecutingAssembly().Location;
			int length = text.LastIndexOf("\\");
			text = text.Substring(0, length);
			length = text.LastIndexOf("\\");
			return text.Substring(0, length);
		}
	}
}
